const { ccclass, property } = cc._decorator;

import i from "./SystemConfig"

@ccclass
export default class SystemDataMgr {

    public _game_name = "";
    public _package_name = "";
    public _subject_name = "";
    public _sever_subject_url = "";
    public _version_test_url = "";
    public _version_release_url = "";
    public _server_test_url = "";
    public _server_release_url = "";
    public _encrypt = 0;
    public _online_release = false;
    public _reviewing = false;
    public _reviewing_splash = 0;
    public _reviewing_antian = false;
    public _reviewing_img_ad = 0;
    public _reviewing_insert_ad = 0;
    public _auth_type = false;
    public _new_phone = 0;
    public _check_root = 0;
    public _privacy_url = "";
    public _user_url = "";
    public _new_user = 0;
    public _isVivoer = false;
    public _new_add_flag = false;
    public _android_help_center_url = "";
    public _ios_help_center_url = "";
    public game_name = i.GAME_NAME;
    public package_name = i.PACKAGE_NAME;
    public subject_name = i.SUBJECT_NAME;
    public sever_subject_url = i.SERVER_SUBJECT_URL;
    public server_test_url = "http://backend-test2.huixuanjiasu.com/" + this.subject_name + "/";
    public server_release_url = "http://xgaly-d.depthmatrix.cn/";
    public user_url = "https://xgaly.depthmatrix.com/user?package_name=com.sdjz.xgaly";
    public privacy_url = "https://xgaly.depthmatrix.com/private?package_name=com.sdjz.xgaly";
    public version_test_url = "http://version-debug.huixuanjiasu.com/update/hot_update";
    public version_release_url = "http://update." + this.sever_subject_url + "/hot_update";
    public android_help_center_url = "https://xgaly.depthmatrix.com/help_center?package_name=com.sdjz.xgaly";
    public ios_help_center_url = "http://wstios-s.nskok.com/hch";
    public online_release = true;

    constructor() {

    }

    get isVivoer(): any {
        return this._isVivoer;
    }

    set isVivoer(e: any) {
        this._isVivoer = e;
    }

    get new_add_flag(): any {
        return this._new_add_flag;
    }

    set new_add_flag(e: any) {
        this._new_add_flag = e;
    }

    get check_root(): any {
        return this._check_root;
    }

    set check_root(e: any) {
        this._check_root = e;
    }

    get reviewing_img_ad(): any {
        return this._reviewing_img_ad;
    }

    set reviewing_img_ad(e: any) {
        this._reviewing_img_ad = e;
    }

    get reviewing_insert_ad(): any {
        return this._reviewing_insert_ad;
    }

    set reviewing_insert_ad(e: any) {
        this._reviewing_insert_ad = e;
    }

    get reviewing_antian(): any {
        return this._reviewing_antian;
    }

    set reviewing_antian(e: any) {
        this._reviewing_antian = e;
    }

    get new_phone(): any {
        return this._new_phone;
    }

    set new_phone(e: any) {
        this._new_phone = e;
    }

    get auth_type(): any {
        return this._auth_type;
    }

    set auth_type(e: any) {
        this._auth_type = e;
    }

    get reviewing(): any {
        return this._reviewing;
    }

    set reviewing(e: any) {
        this._reviewing = e;
    }

    get reviewing_splash(): any {
        return this._reviewing_splash;
    }

    set reviewing_splash(e: any) {
        this._reviewing_splash = e;
    }

    get encrypt(): any {
        return this._encrypt;
    }

    set encrypt(e: any) {
        this._encrypt = e;
    }


    get new_user(): any {
        return this._new_user;
    }

    set new_user(e: any) {
        this._new_user = e;
    }

}
